<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<HTML>
<HEAD>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link
	href="${ pageContext.request.contextPath }/static/bootstrap-3.3.7-dist/css/bootstrap.min.css"
	rel="stylesheet">
<script type="text/javascript">
	function aa() {
		alert("确认添加吗？");
	}
</script>
</HEAD>

<body>
	<form
		action="${pageContext.request.contextPath}/admin/adminCategorySecond_save.action"
		method="post" style="margin-top: 55px;">
		<table cellSpacing="1" cellPadding="5" width="60%" align="center"
			bgColor="#eeeeee" style="border: 1px solid #8ba7e3; height: 300px;"
			border="0">
			<tr>
				<td class="ta_01" align="center" bgColor="#afd1f3" colSpan="4"
					height="50"><strong><STRONG>添加二级分类</STRONG> </strong></td>
			</tr>

			<tr>
				<td width="30%" align="center" bgColor="#f5fafe">所属的一级分类：</td>
				<td bgColor="#f5fafe"><select name="cid"
					style="height: 40px; width: 260px; border-radius: 5px;">
						<c:forEach var="c" items="${categoryList}">
							<option value="${c.cid }">${c.cname}</option>
						</c:forEach>
				</select></td>
			</tr>

			<tr>
				<td width="30%" align="center" bgColor="#f5fafe">二级分类名称：</td>
				<td bgColor="#f5fafe"><input type="text" name="csname" value=""
					style="height: 40px; width: 260px; border-radius: 5px;" /></td>
			</tr>
			<tr bgColor="#f5fafe">
				<td align="center" colSpan="4"><input type="submit" onclick="aa()"
					class="btn btn-primary" value="确定" />
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<button type="reset" class="btn">重置</button>
					&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <!--history.go(-1)返回上一个页面  -->
					<input type="button" onclick="history.go(-1)" value="返回"
					class="btn btn-success" /></td>
			</tr>
		</table>
	</form>
</body>
</HTML>